package com.lrkj.back.service;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.ZsYicipinKucun;
import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.api.ParentService;

import com.github.pagehelper.PageInfo;

public interface ZsYicipinKucunService extends ParentService<ZsYicipinKucun>{
	/**
	 * 没有分页
	 * @param map
	 * @return
	 */
	List<ZsYicipinKucun> findYicipinKucun(Map<String, Object> map)throws DBException;
	
	PageInfo<ZsYicipinKucun> findAllYicipinKucun(Map<String, Object> map)throws DBException;

	int updateKucun(String productId, Integer num)throws DBException;

	int updateByBatch(List<ZsYicipinKucun> yicipinKucuns) throws DBException;
}
